<style>
    td,th{ text-align: center!important; line-height: 45px}
    .form-group>label>table{ background: #cccccc;}
    .form-group label>table tr td, .form-group label>table tr th{background: #FFFFFF; height: 33px; border: 1px solid #cccccc}
    .form-group th{ background: #f4f4f4!important;}
    .form-group label>table tr td td{border: none}
    .nice-validator input, .nice-validator select, .nice-validator textarea, .nice-validator [contenteditable] {
        vertical-align: middle!important;
        display: inline-block;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jigou_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jigou_id" data-source="qingdongams/jigou/index" data-field="jigou_name" class="form-control selectpage" name="row[jigou_id]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-12">
            <table cellpadding="0" cellspacing="1" border="0" width="100%">
                <tr align="center" valign="middel">
                    <th>等级</th>
                    <th>潜在客户</th>
                    <th>新客户</th>
                    <th>一般客户</th>
                    <th>重要客户</th>
                    <th>沉睡客户</th>
                </tr>
                <tr align="center" valign="middel">
                    <th>金额</th>
                    <td>0</td>
                    <td>&gt;0</td>
                    <td>&gt;0</td>
                    <td>
                        <table cellpadding="0" cellspacing="2" border="0" style="height: 33px" align="center">
                            <tr style="height: 33px" valign="middel">
                                <td>&gt;&nbsp;&nbsp;</td>
                                <td><input id="c-gao_jine" class="form-control" style="display: inline-block; width: 80px" name="row[gao_jine]" type="number"></td>
                            </tr>
                        </table>
                    </td>
                    <td>0</td>
                </tr>

                <tr align="center" valign="middel">
                    <th>时间</th>
                    <td>
                        <table cellpadding="0" cellspacing="2" border="0" style="height: 33px" align="center">
                            <tr style="height: 33px" valign="middel">
                                <td><input id="c-qianzai_tian" class="form-control" style="display: inline-block; width: 60px" name="row[qianzai_tian]" type="number"></td>
                                <td>&nbsp;&nbsp;天内有咨询</td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table cellpadding="0" cellspacing="2" border="0" style="height: 33px" align="center">
                            <tr style="height: 33px" valign="middel">
                                <td><input id="c-putong_tian" class="form-control" style="display: inline-block; width: 60px" name="row[putong_tian]" type="number"></td>
                                <td>&nbsp;&nbsp;天内第一次消费</td>
                            </tr>
                        </table>
                    </td>
                    <td colspan="3">
                        <table cellpadding="0" cellspacing="2" border="0" style="height: 33px;" align="center">
                            <tr style="height: 33px" valign="middel">
                                <td><input id="c-xiaoke_tian" class="form-control" style="display: inline-block; width: 60px" name="row[xiaoke_tian]" type="number"></td>
                                <td>&nbsp;&nbsp;天内销课金额</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr align="center" valign="middel">
                    <th>数量</th>
                    <td><span>0</span></td>
                    <td><span>0</span></td>
                    <td><span>0</span></td>
                    <td><span>0</span></td>
                    <td><span>0</span></td>
                </tr>
            </table>
        </label>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
